package org.springblade.mes.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 材料组
 * @author 翁金川
 * @since 2025-06-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bd_material_group")
@ApiModel(value="MaterialGroup对象", description="材料组")
public class MaterialGroup extends TenantEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 物料组编码
     */
    @ApiModelProperty(value = "物料组编码")
    private String materialGroupNo;

    /**
     * 物料组名称
     */
    @ApiModelProperty(value = "物料组名称")
    private String materialGroupName;

    /**
     * 启用标识1启用，2停用
     */
    @ApiModelProperty(value = "启用标识1启用，2停用")
    private Integer startFlag;

    /**
     * 物料标识
     */
    @ApiModelProperty(value = "物料标识")
    private String materialFlag;

    /**
     * 物料类型
     */
    @ApiModelProperty(value = "物料类型")
    private String materialType;

    /**
     * 流程实例id
     */
    @ApiModelProperty(value = "流程实例id")
    private String processInstanceId;

    /**
     * 流程定义id
     */
    @ApiModelProperty(value = "流程定义id")
    private String processDefinitionId;


}
